#!/usr/bin/env bash

if [ ! -f writeup.aux ]; then
    pdflatex -shell-escape writeup 
fi

bibtex writeup
pdflatex -shell-escape writeup

